/**
 * Program   :   IUpdateService.java
 * Author    :   shadow guo
 * Create    :   2013-7-6 下午9:06:47
 *
 * Copyright 2008 by Tongfu Information Technology Co. Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information
 * of Tongfu Information Technology Co. Ltd. ("Confidential Information").  You
 * shall not disclose such Confidential Information and shall use
 * it only in accordance with the terms of the license agreement
 * you entered into with Tongfu Information Technology Co. Ltd.
 * 
 */
package com.tongfusoft.web.core.service;

import java.util.List;
import java.util.Map;

import com.tongfusoft.web.core.data.BaseData;

public interface IUpdateService<T extends BaseData> {
	/**
	 * 修改
	 * @param obj
	 * @param params
	 * @return
	 */
	public boolean update(T obj,Map params);
	
	/**
	 * 批量修改
	 * @param list
	 * @param params
	 * @return
	 */
	public boolean update(T obj,List<Map> params);
}
